package service;

import pojo.News;
import pojo.NewsPage;

import java.util.Map;

/**
 * @author 郝雷蒙
 * @Description
 * @date 2020/11/10 14:32
 */
public interface NewsService {
    public NewsPage getAllnews(Map<String, Object> params);


    public Integer updateViewCount(Integer count,Integer id);

    public News selectOneById(Integer id);
}
